﻿using System;

namespace AccelerateSensor.Model.Gateway
{
    public class GatewayCommonAttributeInfo
    {
        public string Ip { get; set; }
        public int TcpPort { get; set; }
        public string NetMask { get; set; }
        public string NetGateway { get; set; }
        public int StatIntervalSec { get; set; }

        public override string ToString()
        {
            return $"GatewayCommonAttribute:{Environment.NewLine}" +
                   $"Ip: {Ip}, TcpPort: {TcpPort}, NetMask: {NetMask}, " +
                   $"NetGateway: {NetGateway}, StatIntervalSec: {StatIntervalSec}.";
        }
    }
}
